package com.examination.system.instructor.student.ext;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 寇淇芮
 * @Date 2019/10/23 14:08
 */
@Data
@Entity
@GenericGenerator(name = "studentAward-uuid", strategy = "assigned")
@Table(name= "student_award")
public class StudentAward{
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(generator = "studentAward-uuid")
    @Column(name = "student_id",length = 50)
    private String studentId;

    @Column(name = "time")
    private Date time;

    @Column(name = "place")
    private String place;

    @Column(name ="why")
    private String why;

    @Column(name = "type")
    private  String  type;

    @Column(name = "logo")
    private String   logo;

}
